{template 'default','headerclass'}
<div id="wrap">
    <div id="top"></div>
    <div id="container" class="clearfix">
					{template 'default','member_left'}
        <div id="main" class="edufe_fl">
            <div class="title">{if $self}我{else}他{/if}发表的留言</div>
            <div class="con">
                <ul class="message">
                    {loop $my_ly_list $ly}
                    <li class="clearfix">
                        <div class="mess_01">
                            <p class="date">{date('Y-m-d H:i',$ly['addtime'])}</p>
                        </div>
                        <div class="mess_02">
											{nl2br($ly['content'])}
                        </div>
                        {if $self}
                        <input type="button" class="inpt_del" onclick="my_request('/member.php?action=del_ly&id={$ly['id']}','确认要删除吗？')" value="删除"/>
                        {/if}
                    </li>
                    {/loop}
                </ul>
                {if $self}
                <input type="button" value="发表留言" onclick="self.location='/member.php?action=add_ly';" />
                {/if}
            </div>
        </div>
                    <div align="center" id="pages_new">{$pages}</div>
    </div>
{template 'default','footer'}
